package com.ad.pet.app.mall;

import com.ad.pet.common.structure.mvp.AbsView;
import com.ad.pet.common.structure.mvp.BasePresenter;
import com.ad.pet.models.remote.mall.OrderDoorInfo;
import com.ad.pet.models.remote.mall.ServiceDetail;
import com.ad.pet.models.remote.mall.SkuPirce;

/**
 * Created by liuyixiang on 2019/11/26.
 */

public class ServiceDetailContracts {

    interface Presenter extends BasePresenter<ServiceDetailContracts.View> {

        void getServiceDetail(String oid, String sid);

        void getSkuPriceDetail(String oid, String attr_str);

        void getDoorBasicInfo(String date, String shop_id);

        void upDoorOrder(String contact_name, String contact_tel, String shop_id, String pet_id, String offservice_id, String offservice_name, String offservice_sku_id, String offservice_sku_name, String appoint_offservice_date, String appoint_offservice_time, String voucher_id, String price);

        void addService(String id,String shopid);

        void cancelService(String id,String shopid);
    }

    interface View extends AbsView {
        void getServiceDetialSuccess(ServiceDetail serviceDetail);

        void getSkuPriceDetailSuccess(SkuPirce skuPirce);

        void getDoorBasicInfoSuccess(OrderDoorInfo orderDoorInfo);

        void upDoorOrderSuccess();

        void addServiceSuccess();

        void cancelServiceSuccess();
    }
}
